package com.tmc.constant;

/**
 * @author zhang
 * @date 2018年1月2日 下午5:46:39 
 */
public class IntcarOrderConstant {

	/**
	 *订单状态 
	 */
	public static final String ORDER_STATUS_PAYING = "ORDER_STATUS_PAYING"; //支付中
	public static final String ORDER_STATUS_UNPAID = "ORDER_STATUS_UNPAID"; //未支付
	public static final String ORDER_STATUS_CONFIRMING = "ORDER_STATUS_CONFIRMING"; //待确认
	public static final String ORDER_STATUS_PENDINGCAR = "ORDER_STATUS_PENDINGCAR";//待派车 
	public static final String ORDER_STATUS_PENDEDCAR = "ORDER_STATUS_PENDEDCAR";//已派车
	public static final String ORDER_STATUS_REFORMABLECAR = "ORDER_STATUS_REFORMABLECAR";//改派中 
	
	public static final String ORDER_STATUS_FINISHED = "ORDER_STATUS_FINISHED"; //已完成
	
	public static final String ORDER_STATUS_CANCELING = "ORDER_STATUS_CANCELING"; //取消中
	public static final String ORDER_STATUS_CANCELED = "ORDER_STATUS_CANCELED"; //已取消
	
	/**
	 * 供应商
	 */
	public static final String VENDER_YITU8 = "VENDER_YITU8"; //易途8
	public static final String VENDER_HERTZ = "VENDER_HERTZ"; //hertz
	
	/**
	 *订单取消类型 
	 */
	public static final int CANCELTYPEID_10 = 10; // OTA平台用户主动取消
	public static final int CANCELTYPEID_11 = 11; // OTA平台系统取消
	public static final int CANCELTYPEID_20 = 20; // 供应商无车取消
	
	/**
	 * 订单确认类型
	 */
	public static final int ORDER_CONFIRMTYPE_ACCEPTED = 0; //接受订单
	public static final int ORDER_CONFIRMTYPE_UNACCEPTED = 1; //接受订单
	
	/**
	 * 司导确认类型
	 */
	public static final int DRIVER_CONFIRMTYPE_ACCEPTED = 0; //接受订单
	public static final int DRIVER_CONFIRMTYPE_UNACCEPTED = 0; //接受订单
	
	
	/**
	 * 附加服务费
	 * @author zhang
	 * @date 2017年12月11日 下午2:26:14
	 */
	public enum AdditionalService{
		
		PICKUPCARD("PICKUPCARD","举牌接机"),
		SEATU1("SEATU1","0-1岁婴儿座椅，含1岁"),
		SEATU4("SEATU4","1-4岁婴儿座椅，含4岁"),
		SEATU7("SEATU7","4-7岁儿童座椅，含7岁"),
		SEATU12("SEATU1","7-12岁儿童座椅，含12岁");
		
		private String sid;
		private String content;
		
		private AdditionalService(String sid, String content) {
			this.sid = sid;
			this.content = content;
		}
		
		public String getSid() {
			return sid;
		}
		public void setSid(String sid) {
			this.sid = sid;
		}
		public String getContent() {
			return content;
		}
		public void setContent(String content) {
			this.content = content;
		}
		
	}
	
	/**
	 * 供应商
	 */
	public enum Vender{
		YITU8("YITU8","易途吧");
		
		private String vender;
		private String venderName;
		
		private Vender(String vender, String venderName) {
			this.vender = vender;
			this.venderName = venderName;
		}

		public String getVender() {
			return vender;
		}
		public void setVender(String vender) {
			this.vender = vender;
		}
		public String getVenderName() {
			return venderName;
		}
		public void setVenderName(String venderName) {
			this.venderName = venderName;
		}
		
	}
	
	public enum CancelType{
		asd(10,"OTA平台用户主动取消");
		
		private Integer cancelTypeID;
		private String cancelTypeName;
		
		private CancelType(Integer cancelTypeID, String cancelTypeName) {
			this.cancelTypeID = cancelTypeID;
			this.cancelTypeName = cancelTypeName;
		}

		public Integer getCancelTypeID() {
			return cancelTypeID;
		}

		public void setCancelTypeID(Integer cancelTypeID) {
			this.cancelTypeID = cancelTypeID;
		}

		public String getCancelTypeName() {
			return cancelTypeName;
		}

		public void setCancelTypeName(String cancelTypeName) {
			this.cancelTypeName = cancelTypeName;
		}
	}
	
}
